<!doctype html>
<html>
<head>
    <title>{{ filename }}</title>
    {% for stylesheet in code_css %}
        <link rel="stylesheet" type="text/css" href="{{ stylesheet }}"/>
    {% endfor %}
    {% for script in code_js %}
        <script type='text/javascript' src='{{ script }}'></script>
    {% endfor %}
    <script type="text/javascript">
        $(document).ready(function() {
            $('body').css("height", ($('.CodeMirror').height()) + "px");
        });
    </script>
</head>
<body>
    <textarea id="code0">{{ file_contents }}</textarea>
    {% include 'misc/SourceSettings.twig' with { type: file_type, number: 0 } %}
</body>
</html>
